.header-content {
  position: relative;
  height: 3.5rem;
  background: linear-gradient(to bottom, var(--color-bg-navy), var(--color-dark-navy));
  width: 100%;
  padding-top: 0.75rem;
}

.header-content::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -10;
  backdrop-filter: blur(2px);
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between; 
  gap: 1rem;
  max-width: 1024px;
  margin: 0 auto; /* 居中对齐 */

  font-size: 0.875rem;
}

@media (min-width: 1024px) {
  .nav-links {
    gap: 2rem;
  }
}

.nav-links .icon-link {
  padding: 0 0px; /* 调整内边距以使图标更紧凑 */
  display: flex;
  align-items: center;
}

.icon-link {
  position: relative;
  display: inline-block;
}

.icon-link img {
  transition: opacity 0.3s ease;
}

.icon-link img.active-icon {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.icon-link:hover img.default-icon,
.icon-link:active img.default-icon {
  opacity: 0;
}

.icon-link:hover img.active-icon,
.icon-link:active img.active-icon {
  opacity: 1;
}

.nav-link {
  display: flex;
  align-items: center;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--color-light-blue);
}

.nav-link-custom {
  display: flex;
  border-radius: 0.5rem; /* rounded-lg */
  padding-left: 0.5rem; /* px-2 */
  padding-right: 0.5rem; /* px-2 */
  padding-top: 0.375rem; /* py-1.5 */
  padding-bottom: 0.375rem; /* py-1.5 */
  font-size: 0.875rem; /* text-sm */
  color: white; /* text-white */
  transition: color 0.2s;
}
.nav-link-logo{
  display: inline-flex;
  flex-shrink: 0;
}
.nav-link-logo:hover{
  filter: drop-shadow(0 0 5px white);
}

.nav-link-custom:hover {
  color: var(--color-indigo-500);
}

@media (min-width: 1024px) {
  .nav-link {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

.nav-link-highlight {
  color: var(--color-green-500);
}
.nav-link-highlight:hover {
  color: var(--color-green-500);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

.nav-link-common {
  color: var(--color-light-cyan);
}

.signin-link {
  position: relative;
  display: inline-block;
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  color: rgba(209, 213, 219, 1);
  background: linear-gradient(
    to bottom,
    rgba(31, 41, 55, 1),
    rgba(31, 41, 55, 0.6)
  );
  background-size: 100% 100%;
  background-position: bottom;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(
      to right,
      var(--color-gray-800),
      var(--color-gray-700),
      var(--color-gray-800)
    )
    border-box;
  mask-composite: exclude !important;
  mask: linear-gradient(white 0 0) padding-box, linear-gradient(white 0 0);
  transition: background-size 0.3s;
}

.signin-link:hover {
  background-size: 100% 150%;
}

.register-link {
  display: inline-block;
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  color: white;
  background: linear-gradient(
    to top,
    var(--color-indigo-700),
    var(--color-indigo-500)
  );
  background-size: 100% 100%;
  background-position: bottom;
  box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.16);
  transition: background-size 0.3s;
}

.register-link:hover {
  background-size: 100% 150%;
}

.mobile-menu li::marker {
  content: none;
}